package cn.wizzer.app.sys.modules.services;

import cn.wizzer.app.sys.modules.models.SysCurrency;
import cn.wizzer.framework.base.service.BaseService;

import java.io.IOException;
import java.util.List;

public interface SysCurrencyService extends BaseService<SysCurrency> {

    SysCurrency getById(String id);

    List<SysCurrency> getAll();

    /**
     * 获取最新汇率
     */
    void refreshRate() throws IOException;
}
